// P1850 write by cn_ryh